function jump(method, target, currentPage)
{
	var thepage=currentPage;
	
	
	if(method == 'prepage')
	{
		thepage = thepage - 1;
		target.pageToGen.value=thepage;
		//alert(thepage)
	}
	else if(method == 'nextpage')
	{
		thepage = thepage + 1;
		target.pageToGen.value=thepage;
		//alert(thepage)
	}
	else if(method == 'firstpage')
	{

		target.pageToGen.value = 1;
					
		//alert('first')
	}
	else if(method == 'lastpage')
	{
		target.pageToGen.value = currentPage;
		//alert('last')
	}
}